package com.sxjh.entity.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class Finance7CreateParam {

  // 派车单id集合
  @ApiModelProperty(value = "id集合", required = true)
  @NotNull(message = "派车单集合不能为空")
  List<Integer> ids;

  // 合同号
  @ApiModelProperty(value = "合同号", required = true)
  @NotBlank(message = "合同号不允许为空")
  private String contractNumber;

  // 结算数量
  @ApiModelProperty(value = "结算数量", required = true)
  @NotNull(message = "结算数量不能为空")
  private BigDecimal statementQuantity;

  // 结算单价
  @ApiModelProperty(value = "结算单价", required = true)
  @NotNull(message = "结算单价不能为空")
  private BigDecimal statementPrice;

  @ApiModelProperty(value = "异议扣价", required = true)
  @NotNull(message = "异议扣价不能为空")
  private BigDecimal objectionDiscount;

  // 水分
  @ApiModelProperty("最终水分")
  @NotNull(message = "最终水分不能为空")
  private BigDecimal water;

  // 灰分
  @ApiModelProperty("最终灰分")
  @NotNull(message = "最终灰分不能为空")
  private BigDecimal ash;

  // 硫分
  @ApiModelProperty("最终硫分")
  @NotNull(message = "最终硫分不能为空")
  private BigDecimal sulfur;

  // 挥发分
  @ApiModelProperty("最终挥发分")
  @NotNull(message = "最终挥发分不能为空")
  private BigDecimal volatilize;

  // m40
  @ApiModelProperty("最终m40")
  @NotNull(message = "最终M40不能为空")
  private BigDecimal m40;

  // m10
  @ApiModelProperty("最终m10")
  @NotNull(message = "最终M10不能为空")
  private BigDecimal m10;

  // scr
  @ApiModelProperty("最终csr")
  @NotNull(message = "最终CSR不能为空")
  private BigDecimal csr;

  // cri
  @ApiModelProperty("最终cri")
  @NotNull(message = "最终CRI不能为空")
  private BigDecimal cri;

  // 焦沫
  @ApiModelProperty("最终焦沫")
  @NotNull(message = "最终焦沫不能为空")
  private BigDecimal foam;

}
